//
//  ParkAnnotationView.h
//  KuWeiPark
//
//  Created by Kevin Su on 15/4/30.
//  Copyright (c) 2015年 Clief. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <AMapNaviKit/AMapNaviKit.h>
#import "DataModel.h"
#import "ParkCallOutView.h"

#define TYPE_ANNOTATION_PARK @"TYPE_ANNOTATION_PARK"
#define TYPE_ANNOTATION_ME @"TYPE_ANNOTATION_ME"

@class ParkCallOutView;
@interface ParkAnnotationView : MAAnnotationView

@property (strong, nonatomic) ParkCallOutView *parkCallOutView;

@property (strong, nonatomic) MAMapView *mapView;

@property (strong, nonatomic) IBOutlet UILabel *numberLabel;
@property (strong, nonatomic) IBOutlet UILabel *stateLabel;
@property (nonatomic , strong) NSString *state; // 0 FREE 1 BUSY
@property (nonatomic, strong) NSString *type;
@property (nonatomic, strong) ParkingSearchModel *parkingSearchModel;
- (void)initWithParkingModel:(ParkingSearchModel *)model;

@end
